﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OUserEdit.aspx.cs" Inherits="YWTSSys.Web.MachineSys.SysBasic.OUserEdit" %>

<div class="pageContent">
	<form id="Form1" action="sysbasic/OUserEdit.aspx?ajaxmethod=edituser&UserId=<%=UserId %>" class="pageForm required-validate" onsubmit="return validateCallback(this,dialogAjaxDone);">
    <div class="pageFormContent" layoutH="56">            
			<p>
				<label>登陆帐户：</label>
                <input type="text" name="UserName" class="required" alt="请输入登陆帐户" readonly  value="<%=obj.UserName %>" />
			</p>           
            <div class="divider"></div> 
            <p>
				<label>真实姓名：</label>
                <input type="text" name="RealName" class="required" alt="请输入真实姓名"  value="<%=obj.RealName %>"/>
			</p>        
             <p>
				<label>手机：</label>
                <input type="text" name="Mobile" class=""   value="<%=obj.Mobile %>"  />
			</p>   
             <p>
				<label>邮箱：</label>
                <input type="text" name="EMail" class="" value="<%=obj.EMail %>"  />
			</p> 
           <%-- <p>
				<label>是否管理员：</label>
                <input type="checkbox" name="IsSuperAdmin" value="true" <%=obj.IsSuperAdmin?"checked":"" %>/>
			</p> --%>
              <div class="divider"></div>
             <%-- <p>
				<label>部门：</label>
                <select name="Department">
                    <option  value="总办" <%=obj.Department=="总办"?"selected":"" %> >总办</option>
                </select>
			</p>--%>    
            <p>
				<label>分配角色权限：</label>
                <select name="RoleId" class="required combox" alt="请选择角色">
                    <%=GetRoleList() %>
                </select>
                
			</p>
           
    </div>
    <div class="formBar">
   
			<ul>
				<li><div class="buttonActive"><div class="buttonContent">                 
                    <button type="submit">保存</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
       
	</form>
    </div>